/*
 * Copyright (c) 2009-2013 EvTech Project
 * All rights reserved.
 * 
 * This file is part of Symbol Matching.
 *
 * Symbol Matching is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or 
 * (at your option) any later version.
 *
 * Symbol Matching is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Symbol Matching.  If not, see <http://www.gnu.org/licenses/>.
 * 
 */
package fi.honkalampisaatio.reaktiopeli.xml;

import java.util.ArrayList;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;

public class ChoiceButton {
	private String image;
	private String bgColor;
	private ArrayList<QAElement> questionList;
	
	@XmlElement(name = "kuva")
	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	// XmLElementWrapper generates a wrapper element around XML representation
	@XmlElementWrapper(name = "kysymykset")
	// XmlElement sets the name of the entities
	@XmlElement(name = "kysymys")
	public ArrayList<QAElement> getQuestionList() {
		return questionList;
	}
	
	public void setQuestionList(ArrayList<QAElement> questionList) {
		this.questionList = questionList;
	}

	@XmlElement(name = "taustaväri")
	public String getBgColor() {
		return bgColor;
	}

	public void setBgColor(String bgColor) {
		this.bgColor = bgColor;
	}
}
